<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <title>迈凯轮购物车</title>
  <style>
    body {
      font-family: Arial, sans-serif;
    }
    .header {
      background-color: #333;
      color: #fff;
      padding: 10px;
      text-align: center;
    }

    .product {
      display: flex;
      align-items: center;
      padding: 10px;
      border-bottom: 1px solid #ccc;
    }

    .product img {
      width: 100px;
      margin-right: 10px;
    }

    .product-info {
      flex: 1;
    }

    .product-name {
      font-weight: bold;
    }

    .product-price {
      color: #888;
    }

    .total {
      text-align: right;
      margin-top: 20px;
      font-weight: bold;
    }

    .checkout-button {
      display: block;
      margin-top: 10px;
      padding: 10px;
      background-color: #333;
      color: #fff;
      text-align: center;
      text-decoration: none;
      border-radius: 4px;
    }
  </style>
</head>
<body>
  <div class="header">
    <h1>迈凯轮购物车</h1>
  </div>

  <div class="product">
    <img src="./pic/car2.webp" alt="McLaren 720S">
    <div class="product-info">
      <div class="product-name">McLaren 720S</div>
      <div class="product-price">$300,000</div>
    </div>
  </div>

  <div class="product">
    <img src="./pic/car3.webp" alt="McLaren GT">
    <div class="product-info">
      <div class="product-name">McLaren GT</div>
      <div class="product-price">$250,000</div>
    </div>
  </div>

  <div class="product">
    <img src="./pic/car4.webp" alt="McLaren P1">
    <div class="product-info">
      <div class="product-name">McLaren P1</div>
      <div class="product-price">$1,500,000</div>
    </div>
  </div>

  <div class="total">
    Total: $2,050,000
  </div>

  <a href="#" class="checkout-button">Checkout</a>
</body>
</html>
